package net.maku.system.facade;

import net.maku.system.api.facade.SysParamsFacade;
import net.maku.system.service.SysParamsService;
import org.springframework.stereotype.Component;

@Component
public class SysParamsFacadeImpl implements SysParamsFacade {

    private final SysParamsService sysParamsService;

    public SysParamsFacadeImpl(SysParamsService sysParamsService) {
        this.sysParamsService = sysParamsService;
    }


    @Override
    public boolean getBoolean(String paramKey) {
        return sysParamsService.getBoolean(paramKey);
    }
}
